package webservice;

import java.util.ArrayList;
import java.util.List;

public class HelloWorldImpl implements HelloWorld {

	public String sayHelloWorld(String name) {
		String helloWorld = "hello------------" + name;
		return helloWorld;
	}
	
	public int sayList(int a) {
		List l = new ArrayList();
		for (int i = 0; i < 10; i++) {
			l.add(""+i+"");
		}
		return 1;
	}
	
	public Object seeobj(int a) {
		Object[] o = new Object[a];
		List l = new ArrayList();
		for (int i = 0; i < a; i++) {
			l.add(""+i+"");
			o[i]=l;
		}
		Object obj = o;
		return obj;
	}
	

}
